package com.hymjweb.demo.framework.sys;

public class SysConstant {

    /**新增保存操作*/
    public static final String OPER_ADD = "add";

    /**修改保存操作*/
    public static final String OPER_UPDATE = "update";

    /**删除保存操作*/
    public static final String OPER_DELETE = "delete";

    public static String error_msg = "操作失败";

    public static String error_msg_appent = "，";

    public static String init_pwd = "hymj520";


    public static Double ZERO = 0D;

    public static Integer INT_ZERO = 0;



    public static String SESSION_LOGIN_USER_KEY = "currentUserPojo";
    public static String SESSION_LOGIN_USER_DEPARTMENT_KEY = "currentUserDepartment";


    /**
     * 成本分摊方式
     */
    public static final Integer COST_SHARE_STANDARD_NUMBER = 1; // 件数分摊
    public static final Integer COST_SHARE_STANDARD_WEIGHT = 2; // 重量分摊


    /**
     * 主单对账文件类型
     */
    public static final Long TRANSPORT_COST_ACCOUNT_FILE_TYPE = 0L;
    public static final Long GROUND_AMOUNT_ACCOUNT_FILE_TYPE = 1L;
    public static final Long AIRLINES_ADD_COST_ACCOUNT_FILE_TYPE = 2L;
    public static final Long OTHER_CHARGES_ACCOUNT_FILE_TYPE = 3L;


    /**
     * 主单结算文件类型 settlement
     */
    public static final Long TRANSPORT_COST_SETTLEMENT_FILE_TYPE = 0L;
    public static final Long GROUND_AMOUNT_SETTLEMENT_FILE_TYPE = 1L;
    public static final Long AIRLINES_ADD_COST_SETTLEMENT_FILE_TYPE = 2L;
    public static final Long OTHER_CHARGES_SETTLEMENT_FILE_TYPE = 3L;


    /**
     * 操作数据库结果
     */
    public enum OPERATE_DB_STATUS{
        SUCCESS(20001, "成功"),

        FAILURE(20002, "失败");


        private final int id;
        private final String name;

        OPERATE_DB_STATUS(int id, String name) {
            this.id = id;
            this.name = name;
        }

        public int getId() {
            return id;
        }

        public String getName() {
            return name;
        }
    }


    /**
     * 存在状态
     */
    public enum EXIST_STATUS {

        EXIST(10001, "存在"),

        NOT_EXIST(10002, "不存在");

        private final int id;
        private final String name;

        EXIST_STATUS(int id, String name) {
            this.id = id;
            this.name = name;
        }

        public int getId() {
            return id;
        }

        public String getName() {
            return name;
        }
    }

    /**
     * 文件上传操作结果
     */
    public enum OPERATE_STATUS {

        SUCCESS(10010, "成功"),

        FAILURE(10011, "失败"),

        EXCEPTION(10012, "操作参数或上传的文件内容异常"),

        EXCEPTION_ID(10013, "ID为空，操作失败"),
        EXCEPTION_ARGS(10014, "参数异常，操作失败");

        private final int id;
        private final String name;

        OPERATE_STATUS(int id, String name) {
            this.id = id;
            this.name = name;
        }

        public int getId() {
            return id;
        }

        public String getName() {
            return name;
        }
    }


    /**
     * 文件上传操作状态
     */
    public enum FILE_OPERATE_STATUS {

        UPLOAD_FILE_SUCCESS(10020, "文件上传成功"),

        UPLOAD_FILE_FAILURE(10021, "文件上传失败"),

        UPLOAD_FILE_CONTENT_UNQUALIFIED(10022, "上传文件不符合要求，可能格式不对或内容少于2行"),

        DOWNLOAD_FILE_FAILURE(10023, "文件下载失败"),

        FILE_IMPORT_SUCCESS(10024, "文件导入成功"),

        FILE_IMPORT_FAILURE(10025, "文件导入成功"),

        FILE_EXCEPTION(10026, "文件操作异常"),

        INVALID_EXCEL_FILE_EXCEPTION(10027, "不是有效的Excel文件"),

        EXCEL_CELL_VALUE(10028, "EXCEL文件单元格值获取异常");

        private final int id;
        private final String name;

        FILE_OPERATE_STATUS(int id, String name) {
            this.id = id;
            this.name = name;
        }

        public int getId() {
            return id;
        }

        public String getName() {
            return name;
        }
    }


    /**
     * 错误信息提示
     */
    public enum XT_DIC_ERROR_MSG{

        no_tablename(1, error_msg + "无法获取表名", "无法获取表名"),
        no_id(1, error_msg + "无法获取id", "无法获取id"),
        no_name(1, error_msg + "名称为空，无法获取名称", "无法获取name"),
        no_city(1, error_msg + "无法获取所属城市", "无法获取城市id"),
        no_pid(1, error_msg + "无法获取pid", "无法获取pid"),
        no_key(1, error_msg + "无法获取key", "无法获取key"),
        no_phone(1, error_msg + "手机号为空", "手机号为空"),
        no_exist_pid(1, error_msg + "该pid不存在，请输入正确的pid", "该pid不存在"),
        no_price(1, error_msg + "无法获取单价", "无法获取单价"),
        no_ticketprice(1, error_msg + "无法获取起票价", "无法获取起票价"),
        no_airline_id(1, error_msg + "航空公司ID为空", "航空公司ID为空"),
        no_airport_id(1, error_msg + "始发机场ID为空", "始发机场ID为空"),
        no_start_time(1, error_msg + "开始时间为空", "开始时间为空"),
        no_department(1, error_msg + "部门为空", "部门为空"),
        no_end_time(1, error_msg + "结束时间为空", "结束时间为空"),
        exist_id(1, error_msg + "该id已存在", "该id已存在"),
        exist_name(1, error_msg + "该名称已存在", "该名称已存在"),
        exist_child_node(1, error_msg + "存在子节点，请先删除子节点再操作", "存在子节点"),
        exist_phone(1, error_msg + "该手机号已存在", "该手机号已存在"),
        exist_detail_cost_or_site(1, error_msg + "该费用已存在", "该费用已存在"),
        derparment_Leader(1, error_msg + "该员工是某部门的领导，请更改领导信息后再进行删除。", "存在领导部门"),
        exist_user(1, error_msg + "该部门存在员工，请移除员工后再进行删除。", "该部门存在员工"),
        exist_user_mobile(1, error_msg + "该手机账号已存在，请输入正确的手机号", "该手机账号已存在"),
        no_customer(1, error_msg + "客户信息为空，请输入客户信息", "客户信息为空"),
        no_customer_contact(1, error_msg + "客户联系人为空，请输入客户联系人", "客户联系人为空"),
        exist_customer_contact(1, error_msg + "存在客户联系人信息，请先删除客户联系人信息再操作", "存在客户联系人信息"),
        start_time_over_end_time(1, error_msg + "开始时间大于结束时间，请输入正确的信息", "开始时间大于结束时间"),
        end_time_over_start_time_48(1, error_msg + "收银开始与结束时间跨度不能大于48小时，请输入正确的信息", "收银开始与结束时间跨度不能大于48小时"),
        cash_set_repeat(1, error_msg + "同一个部门收银时间跨度存在重合，不允许设置，请输入正确的信息", "同一个部门收银时间跨度存在重合"),
        have_flight(1, error_msg + "生成的航班日期已经存在航班，不可以手动生成，请输入正确的信息", "生成的航班日期已经存在航班"),
        not_have_flight(1, error_msg + "无法找到历史航班，请刷新重试", "无法找到历史航班"),

        exist_dicKey(1, error_msg + "该dicKey已存在，请输入正确的key", "该dicKey已存在"),

        have_uk_b_agreement_freight(1, error_msg + "该客户已添加协议运价信息，请检查协议运价信息,检测到【客户+始发机场+目的站+航空公司+班次号】发生重复", "该客户已添加协议运价信息"),
        have_uk_b_agreement_freight_standard(1, error_msg + "运价标准范围发生重复，请检查范围信息", "运价标准范围发生重复"),
        have_uk_b_flight(1, error_msg + "同一个航班一天只能存在一条记录，请检查航班信息", "同一个航班一天只能存在一条记录"),
        have_uk_b_customer(1, error_msg + "客户名称已存在，请检查客户信息", "客户名称已存在，请检查客户信息");

        private final int id;
        private final String name;
        private final String fullName;

        XT_DIC_ERROR_MSG(int id, String name, String fullName) {
            this.id = id;
            this.name = name;
            this.fullName = fullName;
        }

        public int getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getFullName() {
            return fullName;
        }
    }


    /**********************************************缓存表名常量区域**************************************************/
    public static String CACHE_XT_DEPARTMENT = "department";
    public static String CACHE_XT_DIC = "sysDic";
    public static String CACHE_XT_USER = "sysUser";
    public static String CACHE_XT_CITY = "city";
    public static String CACHE_M_CUSTOMER = "customer";
    public static String CACHE_M_CASH_SETTING = "casher";
    public static String CACHE_USER_COL_COMMENTS = "user_col_comments";
    public static String CACHE_XT_AIRLINES = "airlines";
    public static String CACHE_XT_AIRPORT = "airport";
    public static String CACHE_XT_AIRPORT_GOODS_SITE = "airportGoodsSite";
    public static String CACHE_XT_COMPANY = "sysCompany";
    public static String CACHE_B_OUT_UNIT = "outUnit";
    public static String CACHE_PICK_UP_POINT = "pickUpPoint";
    public static String CACHE_SELF_OR_OUT_UNIT = "selfOrOutUnit";
    public static String CACHE_XT_BANK = "bank";
    public static String CACHE_XT_COMPANY_LOGIN = "companyLogin";




    /******************************************  数据字典常量区  **********************************************************/
    /**
     * 有效标志
     */
    public enum XT_DIC_STATUS {

        VALID(2, "有效","有效"),

        INVALID(3, "无效","无效");

        private final long id;
        private final String name;
        private final String fullName;

        XT_DIC_STATUS(long id, String name,String fullName) {
            this.id = id;
            this.name = name;
            this.fullName=fullName;
        }

        public long getId() {
            return id;
        }

        public String getName() {
            return name;
        }
        public String getFullName() {
            return fullName;
        }
    }


    /**
     * 是否选择
     */
    public enum XT_DIC_YES_NO {

        YES(11, "是", "是"),

        NO(12, "否", "否");

        private final long id;
        private final String name;
        private final String fullName;

        XT_DIC_YES_NO(long id, String name, String fullName) {
            this.id = id;
            this.name = name;
            this.fullName = fullName;
        }

        public long getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getFullName() {
            return fullName;
        }
    }

    /**
     * 部门类别
     */
    public enum XT_DIC_DEPARTMENT_CATEGORY {

        BUSINESS_DEPARTMENT(21, "业务部门", "业务部门"),
        ADMINISTRATIVE_DEPARTMENT(22, "行政部门", "行政部门");

        private final long id;
        private final String name;
        private final String fullName;

        XT_DIC_DEPARTMENT_CATEGORY(long id, String name, String fullName) {
            this.id = id;
            this.name = name;
            this.fullName = fullName;
        }

        public long getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getFullName() {
            return fullName;
        }
    }


    /**
     * 提货点类型
     */
    public enum XT_DIC_PICK_UP_TYPE {

        AIR(31, "航空", "航空"),
        AUTO(32, "汽运", "汽运");

        private final long id;
        private final String name;
        private final String fullName;

        XT_DIC_PICK_UP_TYPE(long id, String name, String fullName) {
            this.id = id;
            this.name = name;
            this.fullName = fullName;
        }

        public long getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getFullName() {
            return fullName;
        }
    }

    /**
     * 客户协议运价标准分类
     */
    public enum XT_DIC_CUSTOMER_AGREEMENT_FREIGHT_STANDARD{

        weight(41, "重量运价标准", "重量运价标准"),
        volume(42, "体积运价标准", "体积运价标准");

        private final long id;
        private final String name;
        private final String fullName;

        XT_DIC_CUSTOMER_AGREEMENT_FREIGHT_STANDARD(long id, String name, String fullName) {
            this.id = id;
            this.name = name;
            this.fullName = fullName;
        }

        public long getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getFullName() {
            return fullName;
        }
    }

    /**
     * 货物类型
     */
    public enum XT_DIC_GOODS_TYPE{

        GENERAL_CARGO(51, "普货", "普货"),
        FRESH_ALIVE(52, "鲜活", "鲜活"),
        LANGOUSTE(53, "龙虾", "龙虾");

        private final long id;
        private final String name;
        private final String fullName;

        XT_DIC_GOODS_TYPE(long id, String name, String fullName) {
            this.id = id;
            this.name = name;
            this.fullName = fullName;
        }

        public long getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getFullName() {
            return fullName;
        }
    }

    /**
     * 计算重量分类
     */
    public enum XT_DIC_CALC_WEIGHT_CATEGORY{


        ACTUAL_WEIGHT(61, "实际重量", "实际重量"),
        CHARGEABLE_WEIGHT(62, "计费重量", "计费重量");

        private final long id;
        private final String name;
        private final String fullName;

        XT_DIC_CALC_WEIGHT_CATEGORY(long id, String name, String fullName) {
            this.id = id;
            this.name = name;
            this.fullName = fullName;
        }

        public long getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getFullName() {
            return fullName;
        }
    }


    /**
     * 运输种类
     */
    public enum XT_DIC_TRANSPORT_SPECIES{

        AIR(71, "空运", "空运"),
        AUTO(72, "汽运", "汽运");

        private final long id;
        private final String name;
        private final String fullName;

        XT_DIC_TRANSPORT_SPECIES(long id, String name, String fullName) {
            this.id = id;
            this.name = name;
            this.fullName = fullName;
        }

        public long getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getFullName() {
            return fullName;
        }
    }


    /**
     * 承运方式
     */
    public enum XT_DIC_TRANSPORT_WAY {
        /**
         * {self:81, other:82};
         */
        SELF(81, "自发", "自发"),
        OTHER(82, "外发", "外发");

        private final long id;
        private final String name;
        private final String fullName;

        XT_DIC_TRANSPORT_WAY(long id, String name, String fullName) {
            this.id = id;
            this.name = name;
            this.fullName = fullName;
        }

        public long getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getFullName() {
            return fullName;
        }
    }

    /**
     * 运输范围
     */
    public enum XT_DIC_TRANSPORT_SCOPE{

        INLAND(91, "国内", "国内"),
        INTERNATIONAL(92, "国际", "国际");

        private final long id;
        private final String name;
        private final String fullName;

        XT_DIC_TRANSPORT_SCOPE(long id, String name, String fullName) {
            this.id = id;
            this.name = name;
            this.fullName = fullName;
        }

        public long getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getFullName() {
            return fullName;
        }
    }


    /**
     * 提货方式
     */
    public enum XT_DIC_PICK_UP_GOODS_WAY{

        SELF_PICKUP(101, "提货点自提", "提货点自提"),
        FREE_SELF_PICKUP(102, "免费自提", "免费自提"),
        AIRPORT_SELF_PICKUP(103, "机场自提", "机场自提"),
        FREE_SEND_DELIVERY(104, "免费送货", "免费送货"),
        SEND_DELIVERY(105, "送货", "送货");

        private final long id;
        private final String name;
        private final String fullName;

        XT_DIC_PICK_UP_GOODS_WAY(long id, String name, String fullName) {
            this.id = id;
            this.name = name;
            this.fullName = fullName;
        }

        public long getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getFullName() {
            return fullName;
        }
    }

    /**
     * 签收选择
     */
    public enum XT_DIC_SIGN_CHOOSE{

        ORIGINAL_SIGN_BILL(111, "原件签单", "原件签单"),
        NETWORK_SIGN_BILL(112, "网点签单", "网点签单"),
        OTHER_VOUCHER(113, "其他单据", "其他单据");

        private final long id;
        private final String name;
        private final String fullName;

        XT_DIC_SIGN_CHOOSE(long id, String name, String fullName) {
            this.id = id;
            this.name = name;
            this.fullName = fullName;
        }

        public long getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getFullName() {
            return fullName;
        }
    }


    /**
     * 包装方式
     */
    public enum XT_DIC_PACKING_WAY{

        FOAM(121, "泡沫箱", "泡沫箱"),
        CARTON(122, "纸箱", "纸箱"),
        TRAY(123, "托盘", "托盘"),
        WRAPPIING_FILM(124, "缠绕膜", "缠绕膜"),
        WOVEN_BAG(125, "编织袋", "编织袋");

        private final long id;
        private final String name;
        private final String fullName;

        XT_DIC_PACKING_WAY(long id, String name, String fullName) {
            this.id = id;
            this.name = name;
            this.fullName = fullName;
        }

        public long getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getFullName() {
            return fullName;
        }
    }


    /**
     * 业务费分摊类型
     * 141,140,无分摊,无分摊
     * 142,140,重量,重量
     * 143,140,重量费率,重量费率
     * 144,140,体积,体积
     * 145,140,体积费率,体积费率
     */
    public enum XT_DIC_BUSINESS_COST_ALLOCATION_TYPE{

        NONE(141, "无分摊", "无分摊"),
        WEIGHT(142, "重量", "重量"),
        WEIGHT_RATE(143, "重量费率", "重量费率"),
        VOLUME(144, "体积", "体积"),
        VOLUME_RATE(145, "体积费率", "体积费率");

        private final long id;
        private final String name;
        private final String fullName;

        XT_DIC_BUSINESS_COST_ALLOCATION_TYPE(long id, String name, String fullName) {
            this.id = id;
            this.name = name;
            this.fullName = fullName;
        }

        public long getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getFullName() {
            return fullName;
        }
    }


    /**
     * 发货方付款方式
     */
    public enum XT_DIC_DELIVERY_CUSTOMER_PAYMENT_METHOD{
        CASH(151, "现金", "现金"),
        ALIPAY(152, "支付宝", "支付宝"),
        WECHATPAY(153, "微信", "微信"),
        UNIONPAY(154, "银联", "银联"),
        DEBT(156, "欠款", "欠款"),
        NOPAY(157, "无款收", "无款收");


        private final long id;
        private final String name;
        private final String fullName;

        XT_DIC_DELIVERY_CUSTOMER_PAYMENT_METHOD(long id, String name, String fullName) {
            this.id = id;
            this.name = name;
            this.fullName = fullName;
        }

        public long getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getFullName() {
            return fullName;
        }

    }

    /**
     * 配货方式
     */
    public enum XT_DIC_LOAD_WAY {
        /**
         * {merge:181, alone:182};
         */
        MERGE(181, "合大票", "合大票"),
        ALONE(182, "单独开单", "单独开单");

        private final long id;
        private final String name;
        private final String fullName;

        XT_DIC_LOAD_WAY(long id, String name, String fullName) {
            this.id = id;
            this.name = name;
            this.fullName = fullName;
        }

        public long getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getFullName() {
            return fullName;
        }
    }

    /**
     * 拉货处置类型
     * 231	230	补发	补发		2
     * 232	230	改配	改配		2
     * 233	230	退客户	退客户		2
     */
    public enum XT_DIC_NATIVE_PULL_DISPOSE {

        SUPPLY(231, "补发", "补发"),
        RELOAD(232, "改配", "改配"),
        REFUND(233, "退客户", "退客户");

        private final long id;
        private final String name;
        private final String fullName;

        XT_DIC_NATIVE_PULL_DISPOSE(long id, String name, String fullName) {
            this.id = id;
            this.name = name;
            this.fullName = fullName;
        }

        public long getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getFullName() {
            return fullName;
        }
    }

    public enum XT_DIC_USE_STATUS{

        UNUSED(241,"未使用"),
        USED(242,"已使用"),
        CANCELLED(243,"已作废");

        private final long id;
        private final String name;

        XT_DIC_USE_STATUS(long id,String name){
            this.id = id;
            this.name = name;
        }

        public long getId() {
            return id;
        }

        public String getName() {
            return name;
        }

    }

    /**
     *
     * 主单类型
     */
    public enum XT_DIC_MASTER_BILL_TYPE{
        FLIGHT(261, "航空主单", "航空主单"),
        AUTO(262, "汽运主单", "汽运主单");

        private final long id;
        private final String name;
        private final String fullName;

        XT_DIC_MASTER_BILL_TYPE(long id, String name, String fullName) {
            this.id = id;
            this.name = name;
            this.fullName = fullName;
        }

        public long getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getFullName() {
            return fullName;
        }

    }

    /**
     * 310,0,还款审核状态,还款审核状态,XT_DIC_AUDIT_STATUS
     * 311,310,未审核,未审核,""
     * 312,310,已审核,已审核,""
     */

    public enum XT_DIC_AUDIT_STATUS {

        UNAUDITED(311, "未审核", "未审核"),
        AUDITED(312, "已审核", "已审核");

        private final long id;
        private final String name;
        private final String fullName;

        XT_DIC_AUDIT_STATUS(long id, String name, String fullName) {
            this.id = id;
            this.name = name;
            this.fullName = fullName;
        }

        public long getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getFullName() {
            return fullName;
        }
    }


    /**
     *
     * 分单或主单结费状态
     */
    public enum XT_DIC_SETTLEMENT_STATUS{
        UNCLEARED(321, "未结算", "未结算"),
        CLEARED(322, "已结算", "已结算");

        private final long id;
        private final String name;
        private final String fullName;

        XT_DIC_SETTLEMENT_STATUS(long id, String name, String fullName) {
            this.id = id;
            this.name = name;
            this.fullName = fullName;
        }

        public long getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getFullName() {
            return fullName;
        }

    }



    /**
     * 性别
     * 331,330,女,女
     * 332,330,男,男
     */

    public enum XT_DIC_GENDER {

        MALE(332, "男", "男"),
        FEMALE(331, "女", "女");

        private final long id;
        private final String name;
        private final String fullName;

        XT_DIC_GENDER(long id, String name, String fullName) {
            this.id = id;
            this.name = name;
            this.fullName = fullName;
        }

        public long getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getFullName() {
            return fullName;
        }
    }


    /**
     * 在职状态
     */
    public enum XT_DIC_WORKING_STATUS{

        ON(341, "在职", "在职"),
        LEAVE(342, "离职", "离职");

        private final int id;
        private final String name;
        private final String fullName;

        XT_DIC_WORKING_STATUS(int id, String name, String fullName) {
            this.id = id;
            this.name = name;
            this.fullName = fullName;
        }

        public int getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getFullName() {
            return fullName;
        }
    }


    /**
     * 分单配载状态
     */
    public enum XT_DIC_BILL_LOAD_STATUS {

        NO_LOAD(351, "未配载", "未配载"),
        PART_LOAD(352, "部分配载", "部分配载"),
        ALL_LOAD(353, "全部配载", "全部配载");

        private final long id;
        private final String name;
        private final String fullName;

        XT_DIC_BILL_LOAD_STATUS(long id, String name, String fullName) {
            this.id = id;
            this.name = name;
            this.fullName = fullName;
        }

        public long getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getFullName() {
            return fullName;
        }
    }


    /**
     * 拉货状态
     */
    public enum XT_DIC_PULL_STATUS {

        NO_PULL(361, "未拉货", "未拉货"),
        PULL(362, "已拉货", "已拉货");

        private final long id;
        private final String name;
        private final String fullName;

        XT_DIC_PULL_STATUS(long id, String name, String fullName) {
            this.id = id;
            this.name = name;
            this.fullName = fullName;
        }

        public long getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getFullName() {
            return fullName;
        }
    }


    /**
     * 370,0,开单类型,开单类型,XT_DIC_BILL_TYPE
     * 371,370,分单,分单,
     * 372,370,航空主单,航空主单,
     * 373,370,汽运主单,汽运主单,
     */
    public enum XT_DIC_BILL_TYPE {

        NATIVE_BILL(371, "分单", "分单"),
        AIR_MASTER_BILL(372, "航空主单", "航空主单"),
        AUTO_MASTER_BILL(373, "汽运主单", "汽运主单");

        private final long id;
        private final String name;
        private final String fullName;

        XT_DIC_BILL_TYPE(long id, String name, String fullName) {
            this.id = id;
            this.name = name;
            this.fullName = fullName;
        }

        public long getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getFullName() {
            return fullName;
        }
    }

    /**
     * 380,0,财务结清支付类型,财务结清支付类型,XT_DIC_BILL_PAY_CLEARED_TYPE
     * 381,380,分单代理送货费,分单代理送货费,
     * 382,380,分单业务费,分单业务费,
     * 390,380,空运主单地面运费,空动主单地面运费,
     * 391,380,空运主单运费,空运主单运费,
     * 400,380,汽运主单运费,汽运主单运费,
     */
    public enum XT_DIC_BILL_PAY_CLEARED_TYPE {

        NATIVE_BILL_AGENT_DELIVERY_CHARGE(381, "分单代理送货费", "分单代理送货费"),
        NATIVE_BILL_SERVICE_CHARGE(382, "分单业务费", "分单业务费"),
        AIR_MASTER_BILL_GROUND_CHARGE(390, "空运主单地面运费", "空运主单地面运费"),
        AIR_MASTER_BILL_TOTAL_AMOUNT(391, "空运主单运费", "空运主单运费"),
        AIR_MASTER_BILL_AIRLINES_ADD_COST(392, "航空附加费", "航空附加费"),
        AIR_MASTER_BILL_OTHER_CHARGE(393, "航空其他费用", "航空其他费用"),
        AUTO_MASTER_BILL_TOTAL_AMOUNT(400, "汽运主单运费", "汽运主单运费");

        private final long id;
        private final String name;
        private final String fullName;

        XT_DIC_BILL_PAY_CLEARED_TYPE(long id, String name, String fullName) {
            this.id = id;
            this.name = name;
            this.fullName = fullName;
        }

        public long getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getFullName() {
            return fullName;
        }
    }


    /**
     * 410,0,作废状态,作废状态,XT_DIC_CANCEL_STATUS
     * 411,410,未作废,未作废,
     * 412,410,已作废,已作废,
     */
    public enum XT_DIC_CANCEL_STATUS {

        NO_CANCEL(411, "未作废", "未作废"),
        CANCELED(412, "已作废", "已作废");

        private final long id;
        private final String name;
        private final String fullName;

        XT_DIC_CANCEL_STATUS(long id, String name, String fullName) {
            this.id = id;
            this.name = name;
            this.fullName = fullName;
        }

        public long getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getFullName() {
            return fullName;
        }
    }

    /**
     * 420,0,分单签收状态,分单签收状态,XT_DIC_SIGN_STATUS
     * 421,420,未返回,未返回,
     * 422,420,已返回,已返回,
     * 423,420,已寄出,已寄出,
     * 424,420,客户已签收,客户已签收,
     */

    public enum XT_DIC_SIGN_STATUS {

        NO_RETURN(421, "未返回", "未返回"),
        RETURNED(422, "已返回", "已返回"),
        SENT(423, "已寄出", "已寄出"),
        SIGNED(424, "客户已签收", "客户已签收");

        private final long id;
        private final String name;
        private final String fullName;

        XT_DIC_SIGN_STATUS(long id, String name, String fullName) {
            this.id = id;
            this.name = name;
            this.fullName = fullName;
        }

        public long getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getFullName() {
            return fullName;
        }
    }


    /**
     * 430,0,分单主单对账状态,分单主单对账状态,XT_DIC_ACCOUNT_CHECK_STATUS
     * 431,430,未对账,未对账,
     * 432,430,已对账,已对账,
     */
    public enum XT_DIC_ACCOUNT_CHECK_STATUS {

        NO_CHECK(431, "未对账", "未对账"),
        CHECKED(432, "已对账", "已对账");

        private final long id;
        private final String name;
        private final String fullName;

        XT_DIC_ACCOUNT_CHECK_STATUS(long id, String name, String fullName) {
            this.id = id;
            this.name = name;
            this.fullName = fullName;
        }

        public long getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getFullName() {
            return fullName;
        }
    }

    /**
     * 600,0,许可资源类型,许可资源类型,XT_DIC_PERMISSION_TYPE
     * 601,600,菜单,菜单,
     * 602,600,按钮,按钮,
     */
    public enum XT_DIC_PERMISSION_TYPE {

        MEMU(601, "菜单", "菜单"),
        BUTTON(602, "按钮", "按钮");

        private final long id;
        private final String name;
        private final String fullName;

        XT_DIC_PERMISSION_TYPE(long id, String name, String fullName) {
            this.id = id;
            this.name = name;
            this.fullName = fullName;
        }

        public long getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getFullName() {
            return fullName;
        }
    }


    /**
     * 680,0,发票类型,发票类型,XT_DIC_INVOICE_TYPE
     * 681,680,增值税专用发票,增值税专用发票,
     * 682,680,增值税普通发票,增值税普通发票,
     */

    public enum XT_DIC_INVOICE_TYPE {

        SPECIAL_INVOICE(681, "增值税专用发票", "增值税专用发票"),
        COMMERCIAL_INVOICE(682, "增值税普通发票", "增值税普通发票");

        private final long id;
        private final String name;
        private final String fullName;

        XT_DIC_INVOICE_TYPE(long id, String name, String fullName) {
            this.id = id;
            this.name = name;
            this.fullName = fullName;
        }

        public long getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getFullName() {
            return fullName;
        }
    }

    /**
     * 690,0,发票税率,发票税率,XT_DIC_INVOICE_RATE
     * 691,690,9%,9%,
     * 692,690,6%,6%,
     * 693,690,0%,0%,
     */
    public enum XT_DIC_INVOICE_RATE {

        NINE_PERCENT(691, "9", "百分之九"),
        SIX_PERCENT(692, "6", "百分之六"),
        ZERO_PERCENT(693, "0", "百分之零");

        private final long id;
        private final String name;
        private final String fullName;

        XT_DIC_INVOICE_RATE(long id, String name, String fullName) {
            this.id = id;
            this.name = name;
            this.fullName = fullName;
        }

        public long getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getFullName() {
            return fullName;
        }
    }


}
